<div class="bjui-pageContent">
    <button type="button" class="btn btn-blue" data-toggle="navtab"
            data-options="{id:'company-resume', url:'/admin/personnel/company-resume-info', title:'查看员工入职简历', fresh:true, data:{oa_contacts_id:{{$employeeInfo['id']}}}}">
        <i class="fa fa-eye"></i> 查看入职简历
    </button>
    <div class="bjui-row col-3">
        <div class="panel">
            <label class="row-label" style="width: 150px">姓名:</label>
            <div class="row-input" style="width:200px">
                {{ $employeeInfo['name'] }}
            </div>
            <label class="row-label" style="width: 150px">性别:</label>
            <div class="row-input" style="width:200px">
                <select data-toggle="selectpicker" disabled>
                    <option value="1" @if($employeeInfo['sex'] == 1) selected @endif>男</option>
                    <option value="2" @if($employeeInfo['sex'] == 2) selected @endif>女</option>
                </select>
            </div>
            <label class="row-label" style="width: 150px">角色:</label>
            <div class="row-input" style="width:200px">
                <select data-toggle="selectpicker" disabled>
                    @foreach($roleList as $role)
                        <option value="{{$role['id']}}"
                                @if($employeeInfo['role_id'] == $role['id']) selected @endif >{{$role['display_name']}}</option>
                    @endforeach
                </select>
            </div>
            <br/>
            <label class="row-label" style="width: 150px">籍贯:</label>
            <div class="row-input" style="width:200px">
                {{ $employeeInfo['birthplace'] }}
            </div>
            <label class="row-label" style="width: 150px">生日:</label>
            <div class="row-input" style="width:200px">
                {{ $employeeInfo['birthdate'] }}
            </div>
            <br/>
            <label class="row-label" style="width: 150px">证件类型:</label>
            <div class="row-input" style="width:200px">
                <select data-toggle="selectpicker" disabled>
                    <option value="1">身份证</option>
                </select>
            </div>
            <label class="row-label" style="width: 150px">证件号:</label>
            <div class="row-input" style="width:200px">
                {{ $employeeInfo['credential_number'] }}
            </div>
            <label class="row-label" style="width: 150px">手机号:</label>
            <div class="row-input" style="width:200px">
                {{ $employeeInfo['mobile'] }}
            </div>
            <br/>
            <label class="row-label" style="width: 150px">家庭住址:</label>
            <div class="row-input" style="width:550px">
                {{ $employeeInfo['address'] }}
            </div>
            <br/>
            <label class="row-label" style="width: 150px">部门:</label>
            <div class="row-input" style="width:200px">
                <select data-toggle="selectpicker" disabled>
                    @foreach($departmentList as $department)
                        <option value="{{$department['id']}}"
                                @if($department['id'] == $employeeInfo['oa_department_id']) selected @endif
                        >{{$department['name']}}</option>
                    @endforeach
                </select>
            </div>
            <label class="row-label" style="width: 150px">岗位:</label>
            <div class="row-input" style="width:200px">
                {{ $employeeInfo['position'] }}
            </div>
            <label class="row-label" style="width: 150px">工号:</label>
            <div class="row-input" style="width:200px">
                <select data-toggle="selectpicker" disabled>
                    @foreach($employeeNumberList as $employeeNumber)
                        <option value="{{$employeeNumber['id']}}"
                                @if($employeeNumber['id'] == $employeeInfo['employee_number']) selected @endif
                        >{{$employeeNumber['employee_number']}}</option>
                    @endforeach
                </select>
            </div>
            <br/>
            <label class="row-label" style="width: 150px">人员类型:</label>
            <div class="row-input" style="width:200px">
                <select data-toggle="selectpicker" disabled>
                    <option value="1" @if($employeeInfo['type'] == 1) selected @endif>正式工</option>
                    <option value="2" @if($employeeInfo['type'] == 2) selected @endif>临时工</option>
                </select>
            </div>
            <br/>
            @if($employeeInfo['type'] == 1)
                <label class="row-label" style="width: 150px">email:</label>
                <div class="row-input" style="width:200px">
                    {{ $employeeInfo['email'] }}
                </div>
                <label class="row-label" style="width: 150px">民族:</label>
                <div class="row-input" style="width:200px">
                    {{ $employeeInfo['ethnicity'] }}
                </div>
                <label class="row-label" style="width: 150px">学历:</label>
                <div class="row-input" style="width:200px">
                    <select data-toggle="selectpicker" disabled>
                        <option value="1" @if($employeeInfo['education'] == 1) selected @endif>初中及以下</option>
                        <option value="2" @if($employeeInfo['education'] == 2) selected @endif>高中</option>
                        <option value="3" @if($employeeInfo['education'] == 3) selected @endif>中技</option>
                        <option value="4" @if($employeeInfo['education'] == 4) selected @endif>中专</option>
                        <option value="5" @if($employeeInfo['education'] == 5) selected @endif>大专</option>
                        <option value="6" @if($employeeInfo['education'] == 6) selected @endif>本科</option>
                        <option value="7" @if($employeeInfo['education'] == 7) selected @endif>硕士</option>
                        <option value="8" @if($employeeInfo['education'] == 8) selected @endif>博士</option>
                        <option value="9" @if($employeeInfo['education'] == 9) selected @endif>MBA</option>
                    </select>
                </div>
                <br/>
                <label class="row-label" style="width: 150px">婚姻状况:</label>
                <div class="row-input" style="width:200px">
                    <select data-toggle="selectpicker" disabled>
                        <option value="0" @if($employeeInfo['marital_status'] == 0) selected @endif>不明</option>
                        <option value="1" @if($employeeInfo['marital_status'] == 1) selected @endif>未婚</option>
                        <option value="2" @if($employeeInfo['marital_status'] == 2) selected @endif>已婚</option>
                        <option value="3" @if($employeeInfo['marital_status'] == 3) selected @endif>离异</option>
                    </select>
                </div>
                <label class="row-label" style="width: 150px">户籍类型:</label>
                <div class="row-input" style="width:200px">
                    <select data-toggle="selectpicker" disabled>
                        <option value="0" @if($employeeInfo['household_registratio_type'] == 0) selected @endif>
                            不明
                        </option>
                        <option value="1" @if($employeeInfo['household_registratio_type'] == 1) selected @endif>
                            农业户口
                        </option>
                        <option value="2" @if($employeeInfo['household_registratio_type'] == 2) selected @endif>
                            非农户口
                        </option>
                    </select>
                </div>
                <br/>
                <label class="row-label" style="width: 150px">人员来源:</label>
                <div class="row-input" style="width:200px">
                    {{ $employeeInfo['personnel_sources'] }}
                </div>
                <br/>
                <label class="row-label" style="width: 150px">健康证有效期:</label>
                <div class="row-input" style="width:200px">
                    {{ $employeeInfo['health_certificate_term'] }}
                </div>
                <br/>
                <label class="row-label" style="width: 150px">通讯录头像:</label>
                <div class="row-input" style="width:200px">
                    <a data-toggle="dialog" data-options="{
                id:'address-list-profile-photo', image:'{{ $employeeInfo['profile_photo_url'] }}', title:'查看通讯录头像', max:true}">
                        <img src="{{ $employeeInfo['profile_photo_url'] }}" width="80px" height="100px">
                    </a>
                </div>
                <br>
                <label class="row-label" style="width: 150px">备注:</label>
                <div class="row-input" style="width:200px" disabled>
                    <textarea name="note" readonly>{{ $employeeInfo['note'] }}</textarea>
                </div>
                <br/>
                <label class="row-label" style="width: 150px">公积金:</label>
                <div class="row-input" style="width:200px">
                    {{$employeeInfo['accumulation_fund']}}
                </div>
                <label class="row-label" style="width: 150px">公积金基数:</label>
                <div class="row-input" style="width:200px">
                    {{$employeeInfo['accumulation_fund_base']}}
                </div>
                <label class="row-label" style="width: 150px">公积金调整时间:</label>
                <div class="row-input" style="width:200px">
                    {{$employeeInfo['accumulation_fund_adjust_time']}}
                </div>
                <br/>
                <label class="row-label" style="width: 150px">社保基数:</label>
                <div class="row-input" style="width:200px">
                    {{$employeeInfo['social_security_base']}}
                </div>
                <label class="row-label" style="width: 150px">参保基数调整时间:</label>
                <div class="row-input" style="width:200px">
                    {{$employeeInfo['insured_adjust_time']}}
                </div>
                <br/>
            @endif
            @if($employeeInfo['type'] == 2)
                <label class="row-label" style="width: 150px">到厂日期:</label>
                <div class="row-input" style="width:200px">
                    {{ $employeeInfo['start_time'] }}
                </div>
                <br/>
            @endif
        </div>
    </div>
</div>
<div class="bjui-pageFooter">
    <ul>
        <li>
            <button type="button" class="btn-close" data-icon="close">取消</button>
        </li>
    </ul>
</div>
<script>

</script>